﻿<!DOCTYPE html>
<html>
	<head>
	 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">  
	 <script src="jquery-2.0.1.min.js"></script>
	<script src="js/mediaelement-and-player.js"></script>
	<link rel="stylesheet" href="css/mediaelementplayer.css" media="screen" />
	<link rel="stylesheet" href="css/mejs-skins.css" media="screen" />
	</head>
	<body>
		<video id="video-player" controls class="mejs-myskin">
		  <source src="http://localhost:3001/aa" type="video/mp4" preload="none" onabort="videoError()">
		Your browser does not support the video tag.
		</video>
	</body>
</html>


<script type="text/javascript">
$(function() {

	$('#video-player').mediaelementplayer({
		alwaysShowControls: false,
		features: ['playpause','progress','current','duration','tracks','volume','fullscreen'],
		audioVolume: 'horizontal',
		loop: true,
		videoWidth: 640,
		videoHeight: 330
	});	
});
</script>